package blog.com.mw.service;

import java.util.List;

import blog.com.mw.base.ResultData;
import blog.com.mw.pojo.vo.ArticleVO;

public interface ArticleService {
	
	public ResultData getAllArticle(int pageNum,int pageSize,String keyword);
	
	public ResultData getArticleByUserId(int userId,int pageNum,int pageSize);
	
	public ResultData getArticleById(int id);
	
	public ResultData getArticleByContent(int id,Boolean isLabel,int pageNum,int pageSize);
	
	public ResultData saveArticle(ArticleVO article);
	
	public ResultData delArticle(List<Integer> ids);
}
